# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements.  See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership.  The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License.  You may obtain a copy of the License at
#
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied.  See the License for the
# specific language governing permissions and limitations
# under the License.

from aliyunsdkcore.request import RpcRequest
from aliyunsdkdyplsapi.endpoint import endpoint_data

class UpdateSubscriptionRequest(RpcRequest):

	def __init__(self):
		RpcRequest.__init__(self, 'Dyplsapi', '2017-05-25', 'UpdateSubscription')
		self.set_method('POST')

		if hasattr(self, "endpoint_map"):
			setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
		if hasattr(self, "endpoint_regional"):
			setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())

	def get_ResourceOwnerId(self): # Long
		return self.get_query_params().get('ResourceOwnerId')

	def set_ResourceOwnerId(self, ResourceOwnerId):  # Long
		self.add_query_param('ResourceOwnerId', ResourceOwnerId)
	def get_CallDisplayType(self): # Integer
		return self.get_query_params().get('CallDisplayType')

	def set_CallDisplayType(self, CallDisplayType):  # Integer
		self.add_query_param('CallDisplayType', CallDisplayType)
	def get_ProductType(self): # String
		return self.get_query_params().get('ProductType')

	def set_ProductType(self, ProductType):  # String
		self.add_query_param('ProductType', ProductType)
	def get_SubsId(self): # String
		return self.get_query_params().get('SubsId')

	def set_SubsId(self, SubsId):  # String
		self.add_query_param('SubsId', SubsId)
	def get_PhoneNoX(self): # String
		return self.get_query_params().get('PhoneNoX')

	def set_PhoneNoX(self, PhoneNoX):  # String
		self.add_query_param('PhoneNoX', PhoneNoX)
	def get_RingConfig(self): # String
		return self.get_query_params().get('RingConfig')

	def set_RingConfig(self, RingConfig):  # String
		self.add_query_param('RingConfig', RingConfig)
	def get_ASRStatus(self): # Boolean
		return self.get_query_params().get('ASRStatus')

	def set_ASRStatus(self, ASRStatus):  # Boolean
		self.add_query_param('ASRStatus', ASRStatus)
	def get_PhoneNoB(self): # String
		return self.get_query_params().get('PhoneNoB')

	def set_PhoneNoB(self, PhoneNoB):  # String
		self.add_query_param('PhoneNoB', PhoneNoB)
	def get_PhoneNoA(self): # String
		return self.get_query_params().get('PhoneNoA')

	def set_PhoneNoA(self, PhoneNoA):  # String
		self.add_query_param('PhoneNoA', PhoneNoA)
	def get_ResourceOwnerAccount(self): # String
		return self.get_query_params().get('ResourceOwnerAccount')

	def set_ResourceOwnerAccount(self, ResourceOwnerAccount):  # String
		self.add_query_param('ResourceOwnerAccount', ResourceOwnerAccount)
	def get_GroupId(self): # String
		return self.get_query_params().get('GroupId')

	def set_GroupId(self, GroupId):  # String
		self.add_query_param('GroupId', GroupId)
	def get_OwnerId(self): # Long
		return self.get_query_params().get('OwnerId')

	def set_OwnerId(self, OwnerId):  # Long
		self.add_query_param('OwnerId', OwnerId)
	def get_PoolKey(self): # String
		return self.get_query_params().get('PoolKey')

	def set_PoolKey(self, PoolKey):  # String
		self.add_query_param('PoolKey', PoolKey)
	def get_Expiration(self): # String
		return self.get_query_params().get('Expiration')

	def set_Expiration(self, Expiration):  # String
		self.add_query_param('Expiration', Expiration)
	def get_OutId(self): # String
		return self.get_query_params().get('OutId')

	def set_OutId(self, OutId):  # String
		self.add_query_param('OutId', OutId)
	def get_IsRecordingEnabled(self): # Boolean
		return self.get_query_params().get('IsRecordingEnabled')

	def set_IsRecordingEnabled(self, IsRecordingEnabled):  # Boolean
		self.add_query_param('IsRecordingEnabled', IsRecordingEnabled)
	def get_OperateType(self): # String
		return self.get_query_params().get('OperateType')

	def set_OperateType(self, OperateType):  # String
		self.add_query_param('OperateType', OperateType)
	def get_ASRModelId(self): # String
		return self.get_query_params().get('ASRModelId')

	def set_ASRModelId(self, ASRModelId):  # String
		self.add_query_param('ASRModelId', ASRModelId)
	def get_CallRestrict(self): # String
		return self.get_query_params().get('CallRestrict')

	def set_CallRestrict(self, CallRestrict):  # String
		self.add_query_param('CallRestrict', CallRestrict)
